package com.zhangyusheng.easyecharts.component;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Map;

/**
 * TODO: 功能描述
 *
 * @author Michael zhang
 * @email zhangys_0217@sina.com
 * @since 2025年11月04日
 */
@Data
@Accessors(chain = true)
public class AxisPointer implements Serializable {
    private final static long serialVersionUID = 2L;
    private String type;

    public static class Builder {
        private String type;

        public Builder type(String type) {
            this.type = type;
            return this;
        }
        public AxisPointer build() {
            return new AxisPointer(this);
        }
    }
    private AxisPointer(Builder builder){
        this.type = builder.type;
    }
}